import instance from "./request";
export const articleApi = () => {
    return instance.get('/article/list', {
        params: {
            page: 1,//页码
            pageSize: 6,//每页显示条数
        }
    })
}

export const DetailApi=(id:number)=>{
    return instance.get(`article/${id}`)
}